<h1>Listing subscriptions</h1>

<table>
  <tr>
    <th>Url</th>
    <th>Confirmed</th>
    <th></th>
    <th></th>
    <th></th>
  </tr>

<% @subscriptions.each do |subscription| %>
  <tr>
    <td><%= subscription.url %></td>
    <td class="small"><span class="<%=subscription.confirmed ? 'true' : 'false' %>"><%= subscription.confirmed %><span></td>
    <td class="small"><%= link_to 'Show', subscription %></td>
    <td class="small"><%= link_to 'Edit', edit_subscription_path(subscription) %></td>
    <td class="small"><%= link_to 'Destroy', subscription, :confirm => 'Are you sure?', :method => :delete %></td>
  </tr>
<% end %>
</table>

<br />

<%= link_to 'New Subscription', new_subscription_path %>
